package com.itgt.classwork;

import java.util.Scanner;

public class Chapters3_1 {

	public static void main(String[] args) {
		int mj;
		
		Scanner scanner = new Scanner(System.in);
		System.out.println("输入高");
		int height = scanner.nextInt();
		System.out.println("输入宽");
		int width = scanner.nextInt();
		
		
		if(width<=0 && height<=0) {
			System.out.println("输入错误");
		}else {
			mj=height * width;
			System.out.println(mj);
		}
	}

}
